package factory.abs_factory;

/**
 * 小米工厂：生产小米电脑和小米手机
 */
public class XMFactory implements Factory {
    @Override
    public Computer createComputers() {
        return new XMComputer();
    }

    @Override
    public Phone createPhones() {
        return new XMPhone();
    }
}
